package com.lagou.edu.service.fallback;

import com.lagou.edu.service.AutoCodeServiceFeignClient;
import org.springframework.stereotype.Component;

@Component
public class AutoCodeServiceFeignClientFallback  implements AutoCodeServiceFeignClient {

    @Override
    public int validateCode(String email, String code) {
        //1:正确，2:错误，0:超时
        return 0;
    }
}
